'\"macro stdmacro
.\"
.\" Copyright (c) 2020 Ken McDonell.  All Rights Reserved.
.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License as published by the
.\" Free Software Foundation; either version 2 of the License, or (at your
.\" option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
.\" or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
.\" for more details.
.\"
.\"
.TH PMIE_DUMP_STATS 1 "PCP" "Performance Co-Pilot"
.SH NAME
\f3pmie_dump_stats\f1 \- dump the contents of pmie stats files
.SH SYNOPSIS
.B $PCP_BINADM_DIR/pmie_dump_stats
.I file ...
.SH DESCRIPTION
Each
.BR pmie (1)
process
mantains a file of state and statistics in binary files in the
.B $PCP_TMP_DIR/pmie
directory, named with the process' PID.
.PP
These files are used by the
.B pmcd
PMDA to instantiate the
.B pmcd.pmie
performance metrics.
.PP
.B pmie_dump_stats
is a stand alone utility that dumps the contents of these files in
a terse, but script-friendly format.
It is designed for use in the
.BR pmiectl (1)
script.
.SH "SEE ALSO"
.BR pmie (1)
and
.BR pmiectl (1).
